using GameServer.ShootingGame.Physics.CollisionReactionClasses.Base;
using GameServer.ShootingGame.RenderableClasses;
namespace GameServer.ShootingGame.Physics.CollisionReactionClasses
{
    public class PlayerCollisionEffects : CollisionEffects
    {
        public PlayerCollisionEffects(PlayerObject owner)
            : this(owner, Colliders.PLAYER)
        {
        }

        public PlayerCollisionEffects(PlayerObject owner, Colliders ownerColliderType)
            : base(owner, ownerColliderType, null,null,null)
        {
            if (reactions_ToWall.Count == 0)
            {
                reactions_ToWall.Add(CollisionFX.PERPENDICULAR_ZERO);
            }
            if (reactions_ToOrdinance.Count == 0)
            {
                reactions_ToOrdinance.Add(CollisionFX.TAKE_DAMAGE);
            }
        }

    }
}
